<%@ page language="java" pageEncoding="utf-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.appspot.etao.*" %>
<%@ page import="com.appspot.etao.model.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@page import="org.apache.jasper.tagplugins.jstl.ForEach"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>本地Shop数据列表</title>
<style type="text/css">
<!--
.STYLE3 {color: #FFFFFF; font-weight: bold; }
-->
</style>
</head>

<body>
<ul>
  <li>本地Shop数据列表如下</li>
</ul>
<table width="797" border="0" align="left">
  <tr>
    <td bgcolor="#000033"><span class="STYLE3">序号</span></td>
    <td bgcolor="#000033"><span class="STYLE3">店铺ID</span></td>
    <td bgcolor="#000033"><span class="STYLE3">店铺所属的类目ID</span></td>
    <td bgcolor="#000033"><span class="STYLE3">卖家昵称</span></td>
    <td bgcolor="#000033"><span class="STYLE3">店铺标题</span></td>
    <td bgcolor="#000033"><span class="STYLE3">店铺描述</span></td>
    <td bgcolor="#000033"><span class="STYLE3">店铺公告</span></td>
    <td bgcolor="#000033"><span class="STYLE3">店标地址</span></td>
    <td bgcolor="#000033"><span class="STYLE3">开店时间</span></td>
    <td bgcolor="#000033"><span class="STYLE3">最后修改时间</span></td>
  </tr>
  <%
      int i = 1;
      List<ShopModel> objList = (List<ShopModel>)request.getAttribute("shopList");
	  for (ShopModel obj : objList) {
  %>
		  <tr>
            <td><%=i++%></td>
            <td><%=obj.getSid()%></td>
            <td><%=obj.getCid()%></td>
            <td><%=obj.getNick()%></td>
            <td><%=obj.getTitle()%></td>
            <td></td>
            <td></td>
            <td><%=obj.getPicPath()%></td>
            <td><%=Constant.FORMATER.format(obj.getCreated())%></td>
            <td><%=Constant.FORMATER.format(obj.getModified())%></td>
		  </tr>
  <%
	  }
  %>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
<p>&nbsp; </p>
</body>
</html>

